package com.haiyou.dc.plugin.module;


import com.haiyou.common.plugin.service.PluginService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Map;

@Slf4j
@Component
public class APlugin implements PluginService {

    @Override
    public void service(Map<String, String> configs) {
        log.info("A客户插件正在执行~{}", configs);
        String ftpIp = configs.get("FTP_IP");
        String ftpPort = configs.get("FTP_PORT");
        String ftpUsername = configs.get("FTP_USERNAME");
        String ftpPassword = configs.get("FTP_PASSWORD");
    }
}